'use strict'

const Model = use('Model')

class UserExhibitor extends Model {
  static get table() {
    return 'user_exhibitor'
  }
  static get primaryKey() {
    return 'id'
  }
  static get createdAtColumn() {
    return 'createdAt'
  }
  static get updatedAtColumn() {
    return "updatedAt"
  }
  exhibitor() {
    return this.hasOne('App/Models/FaExhibitor', 'exhibitorID', 'id')
  }
}

module.exports = UserExhibitor
